﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using CapaNegocio;

namespace CapaWeb.Cliente
{
    public partial class VerPremios : System.Web.UI.Page
    {
        private Admin admin = new Admin();

        protected void Page_Load(object sender, EventArgs e)
        {
            try
            {
                GridView1.Visible = true;
                DataTable dt = admin.listar("premio");
                this.GridView1.DataSource = dt;
                GridView1.DataBind();
            }
            catch (NullReferenceException ex)
            {
            }

        }

        

        
    }
}
